﻿@import "../_theme";

#user-mgr{
    height:100%;
}

#um-searchbox{
    float:right;
    margin:0;

    &>input{
        width:20rem;
        height:3rem;
        line-height:3rem;
    }

    &>.input-after{
        height:3rem;
        line-height:3rem;
        padding:0 1rem;
    }
}

#user-list {
    margin-top: 2rem;
    height:60%;
    min-height:40rem;
    overflow:auto;

    & > li {
        & > .lv-info {

            &.Pending{
                color:$ClrImportant;
            }

            &.Completed{
                color:$ClrOk;
            }

            &.Aborted{
                color:$ClrErr;
            }
        }

        & img {
            width: 4rem;
            height: 4rem;
            margin: 1rem 0;
            border-radius: 2rem;
            border: 2px solid white;
        }
    }
}

.lv-empty {
    & > span {
        display: inline-block;
        height: 96px;
        width: 96px;
        background-image: url(/UI/imgs/icon-tags.png);
        background-repeat: no-repeat;
        background-position: -444px -115px;
    }
}


#user-view {
    width:40rem;
    padding:1rem;
}
.v-userview {
    width: 100%;

    &>.row{
        margin-bottom:1rem;

        &>h4{
            color:$ClrTheme;
        }
    }
}


.vu-certifyinfo {
    padding: 1rem;
    height:auto;
    min-height: 14rem;

    &.noapply {
        color: $ClrImportant;
        text-align: center;
        font-size: 2rem;
        line-height: 14rem;
        border: 1px solid $ClrDisable;
        background-color: $ClrDisableBk;
    }

    &.Pending {
        border: 1px solid $ClrFocus;
        background-color: lighten($ClrFocus,30);
    }

    &.Aborted {
        border: 1px solid $ClrImportant;
        background-color: lighten($ClrImportant,30);

        &>h4{
            color:$ClrImportant;
        }
    }

    &.Completed {
        border: 1px solid $ClrTheme;
        background-color: lighten($ClrTheme,30);
    }
}
#vu-approve-bgn{
    position:absolute;
    top:2rem;
    right:2rem;
}
#vu-approve-editor {
    margin-bottom: 1rem;
    width: 50rem;

    & .Txt-Item {
        margin: 2rem 0;
    }
}
#vu-approve-idpic{
    text-align:right;

    &>img{
        width:100%; 
    }
}

.vu-approve-slct {
    display: inline-block;
    width: 14rem;
    height: 6rem;
    padding: .5rem;
    line-height: 2.5rem;
    border: 2px solid;
    cursor: pointer;

    &>i{
        position:absolute;
        bottom:0;
        right:0;
        color:white;
        z-index:-1;
    }

    &.pass {
        &.slcted {
            border-color: $ClrTheme;
            background-color: transparent;
            color: $ClrTheme;

            &:after {
                content: '';
                position: absolute;
                bottom: 0;
                right: 0;
                width: 0px;
                height: 0px;
                border-right: 1rem solid $ClrTheme;
                border-bottom: 1rem solid $ClrTheme;
                border-left: 1rem solid transparent;
                border-top: 1rem solid transparent;
            }
        }

        &>i{
            z-index:2;
        }
    }

    &.reject {
        &.slcted {
            border-color: $ClrImportant;
            background-color: transparent;
            color: $ClrImportant;

            &:after {
                content: '';
                position: absolute;
                bottom: 0;
                right: 0;
                width: 0px;
                height: 0px;
                border-right: 1rem solid $ClrImportant;
                border-bottom: 1rem solid $ClrImportant;
                border-left: 1rem solid transparent;
                border-top: 1rem solid transparent;
            }
        }

        &>i{
            z-index:2;
        }
    }
}

#vu-approve-reason{
    width:100%;
    height:8rem;
    margin:10px 0;
}

#vu-approve-ok {
    font-size: 6rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
    color:$ClrOk;
}


.vu-pos {
    padding: 0 10px;

    & > .vu-pos-card {
        margin: 5px 0;
        display: table;
        width: 100%;

        & > .vu-pos-card-left {
            display: table-cell;
            vertical-align: middle;
            width: 45%;
            height: 14rem;
            background-color: lighten($ClrThemeBk,10);
            text-align: center;

            & > img {
                width: 50%;
                //margin-left: 25%;
            }
        }

        & > .vu-pos-card-right {
            float: left;
            //width: 55%;
            height: 14rem;
            padding-right: 5px;

            & i {
                margin-left: -1rem;
                background: white;
                border-radius: 50%;
                padding: 5px;
                border: 1px solid $ClrThemeBk;
                box-shadow: 0 2px 5px 0;
            }
        }
    }
}